package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.DailyComment;
import cn.wolfcode.trip.base.query.QueryObject;

import java.util.List;

public interface DailyCommentMapper {
    int deleteByPrimaryKey(Long id);

    int insert(DailyComment record);

    DailyComment selectByPrimaryKey(Long id);

    List<DailyComment> selectAll();

    int updateByPrimaryKey(DailyComment record);

    List<DailyComment> selectForList(QueryObject qo);

    int getCountByDailyId(Long dailyId);

    List<DailyComment> selectForList2(QueryObject qo);


    List<DailyComment> getDailyCommentById(Long dailyId);
}